/*
 *@Database meeting
 *@SrcGener lava.rt.persistence.sql.src.MySQLDataContextSrcGener
 *@CreateAt Wed Aug 02 16:40:02 CST 2023
*/ 
package ss.pku.meeting.dc; 

import lava.rt.persistence.*; 
import lava.rt.persistence.sql.*; 
import java.util.Date; 
import java.sql.*; 
import java.math.*; 


import java.io.*; 


public interface MeetingDataContext extends lava.rt.persistence.DataContext{ 

	public static final long serialVersionUID=1;



	 public  class MeetingEvent extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=100,nullable=false,comments="") 
 		 private String ID ; 
 		 @ColumnMeta(dataLength=100,nullable=true,comments="") 
 		 private String RESOURCE_ID ; 
 		 @ColumnMeta(dataLength=100,nullable=true,comments="") 
 		 private String TITLE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Timestamp START ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Timestamp END ; 
 		 @ColumnMeta(dataLength=100,nullable=true,comments="") 
 		 private String DEPT_ID ; 
 
		 public String getId(){ return this.ID; } 
		 public void setId(String id ){  this.ID=id; } 
		 public String getResourceId(){ return this.RESOURCE_ID; } 
		 public void setResourceId(String resourceId ){  this.RESOURCE_ID=resourceId; } 
		 public String getTitle(){ return this.TITLE; } 
		 public void setTitle(String title ){  this.TITLE=title; } 
		 public Timestamp getStart(){ return this.START; } 
		 public void setStart(Timestamp start ){  this.START=start; } 
		 public Timestamp getEnd(){ return this.END; } 
		 public void setEnd(Timestamp end ){  this.END=end; } 
		 public String getDeptId(){ return this.DEPT_ID; } 
		 public void setDeptId(String deptId ){  this.DEPT_ID=deptId; } 


		@Override
		public Object thisPk() {return ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("MeetingEvent [");
			builder.append("DEPT_ID=").append(DEPT_ID);
			builder.append(", RESOURCE_ID=").append(RESOURCE_ID);
			builder.append(", TITLE=").append(TITLE);
			builder.append(", START=").append(START);
			builder.append(", END=").append(END);
			builder.append(", ID=").append(ID);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return MeetingEvent.class;}

		@Override
		public void clear() {

			DEPT_ID=null; 
			RESOURCE_ID=null; 
			TITLE=null; 
			START=null; 
			END=null; 
			ID=null; 
		}



	 } //end MEETING_EVENT

	 public  class Reservation extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ID ; 
 		 @ColumnMeta(dataLength=30,nullable=true,comments="") 
 		 private String MEETING_NAME ; 
 		 @ColumnMeta(dataLength=10,nullable=true,comments="") 
 		 private String NAME ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Timestamp TIME_BEGIN ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Timestamp TIME_END ; 
 		 @ColumnMeta(dataLength=50,nullable=true,comments="") 
 		 private String USER_NAME ; 
 		 @ColumnMeta(dataLength=20,nullable=true,comments="") 
 		 private String TEL ; 
 		 @ColumnMeta(dataLength=50,nullable=true,comments="") 
 		 private String EMAIL ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Date DATE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte STATE ; 
 
		 public Integer getId(){ return this.ID; } 
		 public void setId(Integer id ){  this.ID=id; } 
		 public String getMeetingName(){ return this.MEETING_NAME; } 
		 public void setMeetingName(String meetingName ){  this.MEETING_NAME=meetingName; } 
		 public String getName(){ return this.NAME; } 
		 public void setName(String name ){  this.NAME=name; } 
		 public Timestamp getTimeBegin(){ return this.TIME_BEGIN; } 
		 public void setTimeBegin(Timestamp timeBegin ){  this.TIME_BEGIN=timeBegin; } 
		 public Timestamp getTimeEnd(){ return this.TIME_END; } 
		 public void setTimeEnd(Timestamp timeEnd ){  this.TIME_END=timeEnd; } 
		 public String getUserName(){ return this.USER_NAME; } 
		 public void setUserName(String userName ){  this.USER_NAME=userName; } 
		 public String getTel(){ return this.TEL; } 
		 public void setTel(String tel ){  this.TEL=tel; } 
		 public String getEmail(){ return this.EMAIL; } 
		 public void setEmail(String email ){  this.EMAIL=email; } 
		 public Date getDate(){ return this.DATE; } 
		 public void setDate(Date date ){  this.DATE=date; } 
		 public Byte getState(){ return this.STATE; } 
		 public void setState(Byte state ){  this.STATE=state; } 


		@Override
		public Object thisPk() {return ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Reservation [");
			builder.append("DATE=").append(DATE);
			builder.append(", TIME_BEGIN=").append(TIME_BEGIN);
			builder.append(", STATE=").append(STATE);
			builder.append(", MEETING_NAME=").append(MEETING_NAME);
			builder.append(", TEL=").append(TEL);
			builder.append(", ID=").append(ID);
			builder.append(", USER_NAME=").append(USER_NAME);
			builder.append(", EMAIL=").append(EMAIL);
			builder.append(", TIME_END=").append(TIME_END);
			builder.append(", NAME=").append(NAME);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Reservation.class;}

		@Override
		public void clear() {

			DATE=null; 
			TIME_BEGIN=null; 
			STATE=null; 
			MEETING_NAME=null; 
			TEL=null; 
			ID=null; 
			USER_NAME=null; 
			EMAIL=null; 
			TIME_END=null; 
			NAME=null; 
		}



	 } //end RESERVATION

	 public  class MeetingRoom extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_ID ; 
 		 @ColumnMeta(dataLength=10,nullable=false,comments="") 
 		 private String ROOM_NO ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_SIZE ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_STATUS ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer AIR ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer PROJECTOR ; 
 
		 public Integer getRoomId(){ return this.ROOM_ID; } 
		 public void setRoomId(Integer roomId ){  this.ROOM_ID=roomId; } 
		 public String getRoomNo(){ return this.ROOM_NO; } 
		 public void setRoomNo(String roomNo ){  this.ROOM_NO=roomNo; } 
		 public Integer getRoomSize(){ return this.ROOM_SIZE; } 
		 public void setRoomSize(Integer roomSize ){  this.ROOM_SIZE=roomSize; } 
		 public Integer getRoomStatus(){ return this.ROOM_STATUS; } 
		 public void setRoomStatus(Integer roomStatus ){  this.ROOM_STATUS=roomStatus; } 
		 public Integer getAir(){ return this.AIR; } 
		 public void setAir(Integer air ){  this.AIR=air; } 
		 public Integer getProjector(){ return this.PROJECTOR; } 
		 public void setProjector(Integer projector ){  this.PROJECTOR=projector; } 


		@Override
		public Object thisPk() {return ROOM_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("MeetingRoom [");
			builder.append("ROOM_STATUS=").append(ROOM_STATUS);
			builder.append(", ROOM_ID=").append(ROOM_ID);
			builder.append(", AIR=").append(AIR);
			builder.append(", ROOM_NO=").append(ROOM_NO);
			builder.append(", ROOM_SIZE=").append(ROOM_SIZE);
			builder.append(", PROJECTOR=").append(PROJECTOR);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return MeetingRoom.class;}

		@Override
		public void clear() {

			ROOM_STATUS=null; 
			ROOM_ID=null; 
			AIR=null; 
			ROOM_NO=null; 
			ROOM_SIZE=null; 
			PROJECTOR=null; 
		}



	 } //end MEETING_ROOM

	 public  class Department extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer DEPT_ID ; 
 		 @ColumnMeta(dataLength=200,nullable=false,comments="") 
 		 private String DEPT_NAME ; 
 		 @ColumnMeta(dataLength=11,nullable=false,comments="") 
 		 private String DEPT_PHONE ; 
 		 @ColumnMeta(dataLength=13,nullable=false,comments="") 
 		 private String DEPT_NO ; 
 		 @ColumnMeta(dataLength=11,nullable=false,comments="") 
 		 private String DEPT_PASSWORD ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String EMAIL ; 
 
		 public Integer getDeptId(){ return this.DEPT_ID; } 
		 public void setDeptId(Integer deptId ){  this.DEPT_ID=deptId; } 
		 public String getDeptName(){ return this.DEPT_NAME; } 
		 public void setDeptName(String deptName ){  this.DEPT_NAME=deptName; } 
		 public String getDeptPhone(){ return this.DEPT_PHONE; } 
		 public void setDeptPhone(String deptPhone ){  this.DEPT_PHONE=deptPhone; } 
		 public String getDeptNo(){ return this.DEPT_NO; } 
		 public void setDeptNo(String deptNo ){  this.DEPT_NO=deptNo; } 
		 public String getDeptPassword(){ return this.DEPT_PASSWORD; } 
		 public void setDeptPassword(String deptPassword ){  this.DEPT_PASSWORD=deptPassword; } 
		 public String getEmail(){ return this.EMAIL; } 
		 public void setEmail(String email ){  this.EMAIL=email; } 


		@Override
		public Object thisPk() {return DEPT_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Department [");
			builder.append("DEPT_ID=").append(DEPT_ID);
			builder.append(", DEPT_PASSWORD=").append(DEPT_PASSWORD);
			builder.append(", DEPT_NAME=").append(DEPT_NAME);
			builder.append(", DEPT_PHONE=").append(DEPT_PHONE);
			builder.append(", EMAIL=").append(EMAIL);
			builder.append(", DEPT_NO=").append(DEPT_NO);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Department.class;}

		@Override
		public void clear() {

			DEPT_ID=null; 
			DEPT_PASSWORD=null; 
			DEPT_NAME=null; 
			DEPT_PHONE=null; 
			EMAIL=null; 
			DEPT_NO=null; 
		}



	 } //end DEPARTMENT

	 public  class Meeting extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer MT_ID ; 
 		 @ColumnMeta(dataLength=25,nullable=true,comments="") 
 		 private String MT_NAME ; 
 		 @ColumnMeta(dataLength=25,nullable=true,comments="") 
 		 private String MT_AREA ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer TYPE_ID ; 
 		 @ColumnMeta(dataLength=50,nullable=true,comments="") 
 		 private String USER_NAME ; 
 		 @ColumnMeta(dataLength=25,nullable=true,comments="") 
 		 private String EMAIL ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String REMARK ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer STATE ; 
 
		 public Integer getMtId(){ return this.MT_ID; } 
		 public void setMtId(Integer mtId ){  this.MT_ID=mtId; } 
		 public String getMtName(){ return this.MT_NAME; } 
		 public void setMtName(String mtName ){  this.MT_NAME=mtName; } 
		 public String getMtArea(){ return this.MT_AREA; } 
		 public void setMtArea(String mtArea ){  this.MT_AREA=mtArea; } 
		 public Integer getTypeId(){ return this.TYPE_ID; } 
		 public void setTypeId(Integer typeId ){  this.TYPE_ID=typeId; } 
		 public String getUserName(){ return this.USER_NAME; } 
		 public void setUserName(String userName ){  this.USER_NAME=userName; } 
		 public String getEmail(){ return this.EMAIL; } 
		 public void setEmail(String email ){  this.EMAIL=email; } 
		 public String getRemark(){ return this.REMARK; } 
		 public void setRemark(String remark ){  this.REMARK=remark; } 
		 public Integer getState(){ return this.STATE; } 
		 public void setState(Integer state ){  this.STATE=state; } 


		@Override
		public Object thisPk() {return MT_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Meeting [");
			builder.append("TYPE_ID=").append(TYPE_ID);
			builder.append(", MT_NAME=").append(MT_NAME);
			builder.append(", MT_AREA=").append(MT_AREA);
			builder.append(", MT_ID=").append(MT_ID);
			builder.append(", STATE=").append(STATE);
			builder.append(", USER_NAME=").append(USER_NAME);
			builder.append(", EMAIL=").append(EMAIL);
			builder.append(", REMARK=").append(REMARK);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Meeting.class;}

		@Override
		public void clear() {

			TYPE_ID=null; 
			MT_NAME=null; 
			MT_AREA=null; 
			MT_ID=null; 
			STATE=null; 
			USER_NAME=null; 
			EMAIL=null; 
			REMARK=null; 
		}



	 } //end MEETING

	 public  class MeetingRecord extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer RECORD_ID ; 
 		 @ColumnMeta(dataLength=200,nullable=false,comments="") 
 		 private String MEETING_THEME ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer MEETING_SIZE ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer DEPT_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_ID ; 
 		 @ColumnMeta(dataLength=20,nullable=false,comments="") 
 		 private String MEETING_TIME ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Date MEETING_DATE ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer SLOT1 ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer SLOT2 ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer APPLY_ID ; 
 
		 public Integer getRecordId(){ return this.RECORD_ID; } 
		 public void setRecordId(Integer recordId ){  this.RECORD_ID=recordId; } 
		 public String getMeetingTheme(){ return this.MEETING_THEME; } 
		 public void setMeetingTheme(String meetingTheme ){  this.MEETING_THEME=meetingTheme; } 
		 public Integer getMeetingSize(){ return this.MEETING_SIZE; } 
		 public void setMeetingSize(Integer meetingSize ){  this.MEETING_SIZE=meetingSize; } 
		 public Integer getDeptId(){ return this.DEPT_ID; } 
		 public void setDeptId(Integer deptId ){  this.DEPT_ID=deptId; } 
		 public Integer getRoomId(){ return this.ROOM_ID; } 
		 public void setRoomId(Integer roomId ){  this.ROOM_ID=roomId; } 
		 public String getMeetingTime(){ return this.MEETING_TIME; } 
		 public void setMeetingTime(String meetingTime ){  this.MEETING_TIME=meetingTime; } 
		 public Date getMeetingDate(){ return this.MEETING_DATE; } 
		 public void setMeetingDate(Date meetingDate ){  this.MEETING_DATE=meetingDate; } 
		 public Integer getSlot1(){ return this.SLOT1; } 
		 public void setSlot1(Integer slot1 ){  this.SLOT1=slot1; } 
		 public Integer getSlot2(){ return this.SLOT2; } 
		 public void setSlot2(Integer slot2 ){  this.SLOT2=slot2; } 
		 public Integer getApplyId(){ return this.APPLY_ID; } 
		 public void setApplyId(Integer applyId ){  this.APPLY_ID=applyId; } 


		@Override
		public Object thisPk() {return RECORD_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("MeetingRecord [");
			builder.append("DEPT_ID=").append(DEPT_ID);
			builder.append(", SLOT2=").append(SLOT2);
			builder.append(", MEETING_DATE=").append(MEETING_DATE);
			builder.append(", ROOM_ID=").append(ROOM_ID);
			builder.append(", SLOT1=").append(SLOT1);
			builder.append(", APPLY_ID=").append(APPLY_ID);
			builder.append(", RECORD_ID=").append(RECORD_ID);
			builder.append(", MEETING_TIME=").append(MEETING_TIME);
			builder.append(", MEETING_THEME=").append(MEETING_THEME);
			builder.append(", MEETING_SIZE=").append(MEETING_SIZE);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return MeetingRecord.class;}

		@Override
		public void clear() {

			DEPT_ID=null; 
			SLOT2=null; 
			MEETING_DATE=null; 
			ROOM_ID=null; 
			SLOT1=null; 
			APPLY_ID=null; 
			RECORD_ID=null; 
			MEETING_TIME=null; 
			MEETING_THEME=null; 
			MEETING_SIZE=null; 
		}



	 } //end MEETING_RECORD

	 public  class Message extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ID ; 
 		 @ColumnMeta(dataLength=255,nullable=false,comments="") 
 		 private String CONTENT ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer FROM_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer TO_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer STATUS ; 
 
		 public Integer getId(){ return this.ID; } 
		 public void setId(Integer id ){  this.ID=id; } 
		 public String getContent(){ return this.CONTENT; } 
		 public void setContent(String content ){  this.CONTENT=content; } 
		 public Integer getFromId(){ return this.FROM_ID; } 
		 public void setFromId(Integer fromId ){  this.FROM_ID=fromId; } 
		 public Integer getToId(){ return this.TO_ID; } 
		 public void setToId(Integer toId ){  this.TO_ID=toId; } 
		 public Integer getStatus(){ return this.STATUS; } 
		 public void setStatus(Integer status ){  this.STATUS=status; } 


		@Override
		public Object thisPk() {return ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Message [");
			builder.append("STATUS=").append(STATUS);
			builder.append(", TO_ID=").append(TO_ID);
			builder.append(", ID=").append(ID);
			builder.append(", CONTENT=").append(CONTENT);
			builder.append(", FROM_ID=").append(FROM_ID);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Message.class;}

		@Override
		public void clear() {

			STATUS=null; 
			TO_ID=null; 
			ID=null; 
			CONTENT=null; 
			FROM_ID=null; 
		}



	 } //end MESSAGE

	 public  class Repair extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ID ; 
 		 @ColumnMeta(dataLength=10,nullable=true,comments="") 
 		 private String ROOM_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer EQUIP ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String MSG ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String IMG ; 
 
		 public Integer getId(){ return this.ID; } 
		 public void setId(Integer id ){  this.ID=id; } 
		 public String getRoomId(){ return this.ROOM_ID; } 
		 public void setRoomId(String roomId ){  this.ROOM_ID=roomId; } 
		 public Integer getEquip(){ return this.EQUIP; } 
		 public void setEquip(Integer equip ){  this.EQUIP=equip; } 
		 public String getMsg(){ return this.MSG; } 
		 public void setMsg(String msg ){  this.MSG=msg; } 
		 public String getImg(){ return this.IMG; } 
		 public void setImg(String img ){  this.IMG=img; } 


		@Override
		public Object thisPk() {return ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Repair [");
			builder.append("MSG=").append(MSG);
			builder.append(", EQUIP=").append(EQUIP);
			builder.append(", IMG=").append(IMG);
			builder.append(", ROOM_ID=").append(ROOM_ID);
			builder.append(", ID=").append(ID);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Repair.class;}

		@Override
		public void clear() {

			MSG=null; 
			EQUIP=null; 
			IMG=null; 
			ROOM_ID=null; 
			ID=null; 
		}



	 } //end REPAIR

	 public  class Status extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_ID ; 
 		 @ColumnMeta(dataLength=15,nullable=true,comments="") 
 		 private String ROOM_NO ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte ONE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte TWO ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte THREE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte FOUR ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte FIVE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer ROOM_SIZE ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte AIR ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Byte PROJECTOR ; 
 
		 public Integer getRoomId(){ return this.ROOM_ID; } 
		 public void setRoomId(Integer roomId ){  this.ROOM_ID=roomId; } 
		 public String getRoomNo(){ return this.ROOM_NO; } 
		 public void setRoomNo(String roomNo ){  this.ROOM_NO=roomNo; } 
		 public Byte getOne(){ return this.ONE; } 
		 public void setOne(Byte one ){  this.ONE=one; } 
		 public Byte getTwo(){ return this.TWO; } 
		 public void setTwo(Byte two ){  this.TWO=two; } 
		 public Byte getThree(){ return this.THREE; } 
		 public void setThree(Byte three ){  this.THREE=three; } 
		 public Byte getFour(){ return this.FOUR; } 
		 public void setFour(Byte four ){  this.FOUR=four; } 
		 public Byte getFive(){ return this.FIVE; } 
		 public void setFive(Byte five ){  this.FIVE=five; } 
		 public Integer getRoomSize(){ return this.ROOM_SIZE; } 
		 public void setRoomSize(Integer roomSize ){  this.ROOM_SIZE=roomSize; } 
		 public Byte getAir(){ return this.AIR; } 
		 public void setAir(Byte air ){  this.AIR=air; } 
		 public Byte getProjector(){ return this.PROJECTOR; } 
		 public void setProjector(Byte projector ){  this.PROJECTOR=projector; } 


		@Override
		public Object thisPk() {return ROOM_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Status [");
			builder.append("FIVE=").append(FIVE);
			builder.append(", ROOM_ID=").append(ROOM_ID);
			builder.append(", ONE=").append(ONE);
			builder.append(", FOUR=").append(FOUR);
			builder.append(", AIR=").append(AIR);
			builder.append(", TWO=").append(TWO);
			builder.append(", ROOM_NO=").append(ROOM_NO);
			builder.append(", ROOM_SIZE=").append(ROOM_SIZE);
			builder.append(", PROJECTOR=").append(PROJECTOR);
			builder.append(", THREE=").append(THREE);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Status.class;}

		@Override
		public void clear() {

			FIVE=null; 
			ROOM_ID=null; 
			ONE=null; 
			FOUR=null; 
			AIR=null; 
			TWO=null; 
			ROOM_NO=null; 
			ROOM_SIZE=null; 
			PROJECTOR=null; 
			THREE=null; 
		}



	 } //end STATUS

	 public  class Manager extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=5,nullable=false,comments="") 
 		 private String USERNAME ; 
 		 @ColumnMeta(dataLength=11,nullable=false,comments="") 
 		 private String PASSWORD ; 
 
		 public String getUsername(){ return this.USERNAME; } 
		 public void setUsername(String username ){  this.USERNAME=username; } 
		 public String getPassword(){ return this.PASSWORD; } 
		 public void setPassword(String password ){  this.PASSWORD=password; } 


		@Override
		public Object thisPk() {return USERNAME;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Manager [");
			builder.append("PASSWORD=").append(PASSWORD);
			builder.append(", USERNAME=").append(USERNAME);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Manager.class;}

		@Override
		public void clear() {

			PASSWORD=null; 
			USERNAME=null; 
		}



	 } //end MANAGER

	 public  class Login extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Long USER_ID ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String USERNAME ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String PASSWORD ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String ROLE ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String DEPARTMENT ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String REAL_NAME ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="") 
 		 private String EMAIL ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer TEL ; 
 
		 public Long getUserId(){ return this.USER_ID; } 
		 public void setUserId(Long userId ){  this.USER_ID=userId; } 
		 public String getUsername(){ return this.USERNAME; } 
		 public void setUsername(String username ){  this.USERNAME=username; } 
		 public String getPassword(){ return this.PASSWORD; } 
		 public void setPassword(String password ){  this.PASSWORD=password; } 
		 public String getRole(){ return this.ROLE; } 
		 public void setRole(String role ){  this.ROLE=role; } 
		 public String getDepartment(){ return this.DEPARTMENT; } 
		 public void setDepartment(String department ){  this.DEPARTMENT=department; } 
		 public String getRealName(){ return this.REAL_NAME; } 
		 public void setRealName(String realName ){  this.REAL_NAME=realName; } 
		 public String getEmail(){ return this.EMAIL; } 
		 public void setEmail(String email ){  this.EMAIL=email; } 
		 public Integer getTel(){ return this.TEL; } 
		 public void setTel(Integer tel ){  this.TEL=tel; } 


		@Override
		public Object thisPk() {return USER_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Login [");
			builder.append("ROLE=").append(ROLE);
			builder.append(", PASSWORD=").append(PASSWORD);
			builder.append(", USER_ID=").append(USER_ID);
			builder.append(", USERNAME=").append(USERNAME);
			builder.append(", DEPARTMENT=").append(DEPARTMENT);
			builder.append(", TEL=").append(TEL);
			builder.append(", EMAIL=").append(EMAIL);
			builder.append(", REAL_NAME=").append(REAL_NAME);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Login.class;}

		@Override
		public void clear() {

			ROLE=null; 
			PASSWORD=null; 
			USER_ID=null; 
			USERNAME=null; 
			DEPARTMENT=null; 
			TEL=null; 
			EMAIL=null; 
			REAL_NAME=null; 
		}



	 } //end LOGIN

	 public  class ApplicationRecord extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer APPLICATION_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer DEPT_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ROOM_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Timestamp APPLY_TIME ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Timestamp AUDIT_TIME ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer AUDIT_STATUS ; 
 		 @ColumnMeta(dataLength=200,nullable=true,comments="") 
 		 private String REJECT_REASON ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Date APPLY_DATE ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer SLOT1 ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer SLOT2 ; 
 		 @ColumnMeta(dataLength=200,nullable=false,comments="") 
 		 private String MEETING_THEME ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="") 
 		 private Integer MEETING_SIZE ; 
 		 @ColumnMeta(dataLength=20,nullable=false,comments="") 
 		 private String MEETING_TIME ; 
 
		 public Integer getApplicationId(){ return this.APPLICATION_ID; } 
		 public void setApplicationId(Integer applicationId ){  this.APPLICATION_ID=applicationId; } 
		 public Integer getDeptId(){ return this.DEPT_ID; } 
		 public void setDeptId(Integer deptId ){  this.DEPT_ID=deptId; } 
		 public Integer getRoomId(){ return this.ROOM_ID; } 
		 public void setRoomId(Integer roomId ){  this.ROOM_ID=roomId; } 
		 public Timestamp getApplyTime(){ return this.APPLY_TIME; } 
		 public void setApplyTime(Timestamp applyTime ){  this.APPLY_TIME=applyTime; } 
		 public Timestamp getAuditTime(){ return this.AUDIT_TIME; } 
		 public void setAuditTime(Timestamp auditTime ){  this.AUDIT_TIME=auditTime; } 
		 public Integer getAuditStatus(){ return this.AUDIT_STATUS; } 
		 public void setAuditStatus(Integer auditStatus ){  this.AUDIT_STATUS=auditStatus; } 
		 public String getRejectReason(){ return this.REJECT_REASON; } 
		 public void setRejectReason(String rejectReason ){  this.REJECT_REASON=rejectReason; } 
		 public Date getApplyDate(){ return this.APPLY_DATE; } 
		 public void setApplyDate(Date applyDate ){  this.APPLY_DATE=applyDate; } 
		 public Integer getSlot1(){ return this.SLOT1; } 
		 public void setSlot1(Integer slot1 ){  this.SLOT1=slot1; } 
		 public Integer getSlot2(){ return this.SLOT2; } 
		 public void setSlot2(Integer slot2 ){  this.SLOT2=slot2; } 
		 public String getMeetingTheme(){ return this.MEETING_THEME; } 
		 public void setMeetingTheme(String meetingTheme ){  this.MEETING_THEME=meetingTheme; } 
		 public Integer getMeetingSize(){ return this.MEETING_SIZE; } 
		 public void setMeetingSize(Integer meetingSize ){  this.MEETING_SIZE=meetingSize; } 
		 public String getMeetingTime(){ return this.MEETING_TIME; } 
		 public void setMeetingTime(String meetingTime ){  this.MEETING_TIME=meetingTime; } 


		@Override
		public Object thisPk() {return APPLICATION_ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("ApplicationRecord [");
			builder.append("DEPT_ID=").append(DEPT_ID);
			builder.append(", SLOT2=").append(SLOT2);
			builder.append(", APPLY_DATE=").append(APPLY_DATE);
			builder.append(", SLOT1=").append(SLOT1);
			builder.append(", APPLICATION_ID=").append(APPLICATION_ID);
			builder.append(", MEETING_TIME=").append(MEETING_TIME);
			builder.append(", REJECT_REASON=").append(REJECT_REASON);
			builder.append(", ROOM_ID=").append(ROOM_ID);
			builder.append(", AUDIT_STATUS=").append(AUDIT_STATUS);
			builder.append(", MEETING_THEME=").append(MEETING_THEME);
			builder.append(", MEETING_SIZE=").append(MEETING_SIZE);
			builder.append(", APPLY_TIME=").append(APPLY_TIME);
			builder.append(", AUDIT_TIME=").append(AUDIT_TIME);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return ApplicationRecord.class;}

		@Override
		public void clear() {

			DEPT_ID=null; 
			SLOT2=null; 
			APPLY_DATE=null; 
			SLOT1=null; 
			APPLICATION_ID=null; 
			MEETING_TIME=null; 
			REJECT_REASON=null; 
			ROOM_ID=null; 
			AUDIT_STATUS=null; 
			MEETING_THEME=null; 
			MEETING_SIZE=null; 
			APPLY_TIME=null; 
			AUDIT_TIME=null; 
		}



	 } //end APPLICATION_RECORD

	 public  class Participants extends Entity implements Serializable {



		private static final long serialVersionUID = MeetingDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer DEPT_ID ; 
 		 @ColumnMeta(dataLength=0,nullable=false,comments="") 
 		 private Integer APPLY_ID ; 
 
		 public Integer getId(){ return this.ID; } 
		 public void setId(Integer id ){  this.ID=id; } 
		 public Integer getDeptId(){ return this.DEPT_ID; } 
		 public void setDeptId(Integer deptId ){  this.DEPT_ID=deptId; } 
		 public Integer getApplyId(){ return this.APPLY_ID; } 
		 public void setApplyId(Integer applyId ){  this.APPLY_ID=applyId; } 


		@Override
		public Object thisPk() {return ID;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("Participants [");
			builder.append("DEPT_ID=").append(DEPT_ID);
			builder.append(", APPLY_ID=").append(APPLY_ID);
			builder.append(", ID=").append(ID);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return Participants.class;}

		@Override
		public void clear() {

			DEPT_ID=null; 
			APPLY_ID=null; 
			ID=null; 
		}



	 } //end PARTICIPANTS

	public final static Criteria CRITERIA=new Criteria();

	public  static class Criteria{ 

		private Criteria() {} 

		public static final String  Status="STATUS",
		MeetingEvent="MEETING_EVENT",
		Reservation="RESERVATION",
		Repair="REPAIR",
		ApplicationRecord="APPLICATION_RECORD",
		MeetingRoom="MEETING_ROOM",
		Message="MESSAGE",
		Participants="PARTICIPANTS",
		MeetingRecord="MEETING_RECORD",
		Meeting="MEETING",
		Manager="MANAGER",
		Department="DEPARTMENT",
		Login="LOGIN"		; 

		public static final Column 
		deptPassword = new Column("DEPT_PASSWORD","deptPassword"),
		resourceId = new Column("RESOURCE_ID","resourceId"),
		applyDate = new Column("APPLY_DATE","applyDate"),
		four = new Column("FOUR","four"),
		userId = new Column("USER_ID","userId"),
		email = new Column("EMAIL","email"),
		deptNo = new Column("DEPT_NO","deptNo"),
		fromId = new Column("FROM_ID","fromId"),
		status = new Column("STATUS","status"),
		five = new Column("FIVE","five"),
		recordId = new Column("RECORD_ID","recordId"),
		username = new Column("USERNAME","username"),
		meetingName = new Column("MEETING_NAME","meetingName"),
		toId = new Column("TO_ID","toId"),
		id = new Column("ID","id"),
		meetingSize = new Column("MEETING_SIZE","meetingSize"),
		applyTime = new Column("APPLY_TIME","applyTime"),
		deptId = new Column("DEPT_ID","deptId"),
		img = new Column("IMG","img"),
		air = new Column("AIR","air"),
		department = new Column("DEPARTMENT","department"),
		two = new Column("TWO","two"),
		realName = new Column("REAL_NAME","realName"),
		timeEnd = new Column("TIME_END","timeEnd"),
		roomNo = new Column("ROOM_NO","roomNo"),
		name = new Column("NAME","name"),
		date = new Column("DATE","date"),
		rejectReason = new Column("REJECT_REASON","rejectReason"),
		typeId = new Column("TYPE_ID","typeId"),
		password = new Column("PASSWORD","password"),
		auditStatus = new Column("AUDIT_STATUS","auditStatus"),
		end = new Column("END","end"),
		three = new Column("THREE","three"),
		slot2 = new Column("SLOT2","slot2"),
		roomStatus = new Column("ROOM_STATUS","roomStatus"),
		deptName = new Column("DEPT_NAME","deptName"),
		slot1 = new Column("SLOT1","slot1"),
		one = new Column("ONE","one"),
		applicationId = new Column("APPLICATION_ID","applicationId"),
		state = new Column("STATE","state"),
		meetingTime = new Column("MEETING_TIME","meetingTime"),
		role = new Column("ROLE","role"),
		timeBegin = new Column("TIME_BEGIN","timeBegin"),
		mtName = new Column("MT_NAME","mtName"),
		mtArea = new Column("MT_AREA","mtArea"),
		deptPhone = new Column("DEPT_PHONE","deptPhone"),
		mtId = new Column("MT_ID","mtId"),
		applyId = new Column("APPLY_ID","applyId"),
		meetingTheme = new Column("MEETING_THEME","meetingTheme"),
		content = new Column("CONTENT","content"),
		remark = new Column("REMARK","remark"),
		roomSize = new Column("ROOM_SIZE","roomSize"),
		projector = new Column("PROJECTOR","projector"),
		auditTime = new Column("AUDIT_TIME","auditTime"),
		msg = new Column("MSG","msg"),
		equip = new Column("EQUIP","equip"),
		meetingDate = new Column("MEETING_DATE","meetingDate"),
		userName = new Column("USER_NAME","userName"),
		roomId = new Column("ROOM_ID","roomId"),
		title = new Column("TITLE","title"),
		start = new Column("START","start"),
		tel = new Column("TEL","tel")
		;

	} 




} //end